package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomhouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Size;

/**
 * @author hans.zhang
 */
@Data
@Schema(description = "备案信息")
public class RecordInfoDto {
    @Schema(description = "产权人姓名")
    private String ownerName;

    @Schema(description = "产权人证件类型,1-居民身份证，2-社会统一信用代码，3-组织机构代码证，9-其他")
    private String cardType;

    @Schema(description = "产权人证件号码")
    private String cardNo;

    @Schema(description = "产权人联系电话")
    private String telPhone;

    @Schema(description = "产权类型  1-商品房合同，2-房地产权证，9-其他")
    private String propertyType;

    @Schema(description = "产权证编号")
    @Size(min = 0, max = 50, message = "产权编号长度不能超过50字")
    private String propertyNo;

    @Schema(description = "房屋类型 1-住宅，2-非住宅")
    private String registerType;

    @Schema(description = "房屋结构，1-钢筋混凝土结构，2-钢结构，3-混合结构，4-其他结构")
    private String houseStructure;
    @Schema(description = "装修情况1-毛坯，2-简装，3-中装，5-精装，6-豪装")
    private String decoration;
    @Schema(description = "附件信息")
    @Size(min = 0, max = 1500, message = "附件链接长度不能超过1500字符")
    private String picUrl;

    @Schema(description = "集中式房源核验码")
    @Size(min = 0, max = 50, message = "核验码最多录入50个字")
    private String concentratedCheckCode;
    @Schema(description = "集中式房源外部ID")
    @Size(min = 0, max = 50, message = "外部ID最多录入50个字")
    private Long concentratedExternalHouseId;
}
